<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="/easyui/themes/icon.css" />
		<link rel="stylesheet" href="/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="/css/public.css" />
		<title>道具管理-道具类型列表</title>
		<script type="text/javascript" src="/js/jquery.min.js"></script>
		<script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="/easyui/easyui-lang-zh_CN.js"></script>
	</head>
	
	<body>
		<div id="prop_dialog" style="display:none;">
			<form id="prop_form">
				<input type="hidden" id="id" name="id" />
				
				<table style="border-spacing:10px;">
					<tr>
						<td>类型名称</td>
						<td><input id="name" name="name" /></td>

						<td>道具类型</td>
						<td><input id="type" name="type" /></td>
					</tr>

					<tr>
						<td>排序号</td>
						<td><input id="pxh" name="pxh" /></td>

						<td>父类型</td>
						<td><input id="parentId" name="parentId" /></td>
					</tr>

					<tr>
						<td>是否主题表</td>
						<td><input id="isTheme" name="isTheme" /></td>

						<td>分类深度</td>
						<td><input id="deep" name="deep" /></td>
					</tr>

					<tr>
						<td>数据库表</td>
						<td><input id="tableName" name="tableName" /></td>

						<td>分类字段</td>
						<td><input id="sortField" name="sortField" /></td>
					</tr>

					<tr>
						<td>排序字段</td>
						<td colspan="3">
							<input id="orderBy" name="orderBy" />
						</td>
					</tr>

					<tr>
						<td>道具说明</td>

						<td colspan="3">
							<input id="note" name="note" />
						</td>
					</tr>
				</table>
			</form>
		</div>

		<div id="upload_dialog" style="display:none;">
			<form id="upload_form">
				<input type="hidden" id="categoryId" name="id" />
				<input type="hidden" id="image" name="image" />

				<table style="border-spacing:5px;">
					<tr>
						<td>上传图片</td>
						<td><input id="upload" /></td>
					</tr>

					<tr>
						<td>图片预览</td>
						<td><img id="img" height="100" /></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="table_dialog" style="display:none;">
			<div class="easyui-layout" style="width:688px;height:320px;">
				<div data-options="region:'west',split:false" style="width:252px;">
					<table id="theme_table"></table>
				</div>

				<div data-options="region:'center',split:false">
					<table id="rule_list"></table>
				</div>
			</div>
		</div>

		<div id="tree_dialog" style="display:none;">
			<div id="prop_tree"></div>
		</div>

		<div id="mm" class="easyui-menu" style="width:150px;">
			<div id="mm-insert">添加</div>
			<div id="mm-update">修改</div>
			<div id="mm-delete">删除</div>
		</div>

		<table id="prop_list"></table>

		<script type="text/javascript" src="/js/public.js"></script>
		<script type="text/javascript" src="/js/ajaxUtils.js"></script>
		<script type="text/javascript" src="/js/prop/category_list.js"></script>
	</body>
</html>